﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CMS_config.aspx.cs" Inherits="Fjaspx.UI.Web.Administrator.config.CMS_config" %>
<%@ Register src="../top.ascx" tagname="top_help" tagprefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title></title>
<script src="/administrator/webui/SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
<script src="/administrator/webui/SpryAssets/SpryValidationSelect.js" type="text/javascript"></script>
<script src="SpryAssets/SpryValidationTextarea.js" type="text/javascript"></script>
<link href="/administrator/webui/SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />
<link href="/administrator/webui/SpryAssets/SpryValidationSelect.css" rel="stylesheet" type="text/css" />
<link href="/App_Templet/SystemCss/Admin.css" rel="stylesheet" type="text/css" />
<link href="SpryAssets/SpryValidationTextarea.css" rel="stylesheet" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><style type="text/css">
<!--
body,td,th {
	color: #303030;
	font-size: 13px;
}
input{
	width:240px;
	height:18px;
	color:#666;}
h3{
	margin:3px;
	font-size: 18px;
	color: #036;
	font-weight: bold;
	font-family: "微软雅黑";
}
-->
</style></head>
<body>
<form id="form1" runat="server">
  <uc1:top_help ID="top_help2" runat="server" />

    <table width="100%" border="0" cellspacing="5" cellpadding="5">
      <tr>
        <td><h3>常规选项
        </h3>
          <table width="80%" border="0" cellspacing="4" cellpadding="0" style=" font-size:13px; border: solid 1px #555555; background-color: #F0F0F0;">
          <tr>
              <td width="20%" align="right"> 网站域名</td>
              <td width="80%"><span id="sprytextfield_WebHost">
                <label>
                  <input name="web_host" type="text" id="web_host" value="http://www.roycms.cn" />
                </label>
                <span class="textfieldRequiredMsg">需要选择或填写一个值</span></span></td>
          </tr>
            <tr>
              <td align="right"> 网站名称</td>
              <td><span id="sprytextfield_WebName">
                <label>
                  <input name="web_name" type="text" id="web_name" value="Fjaspx官方站点" />
                </label>
                <span class="textfieldRequiredMsg">需要选择或填写一个值</span></span></td>
            </tr>
            <tr>
              <td align="right"> 静态生成文件扩展名</td>
              <td><span id="sprytextfield_WebForge">
                <label>
                  <input name="web_forge" type="text" id="web_forge" value=".html" />
                </label>
                <span class="textfieldRequiredMsg">需要选择或填写一个值</span></span></td>
            </tr>
            <tr>
              <td align="right"> FCK 编辑器上传文件目录</td>
              <td><span id="sprytextfield_UploadPath">
                <label>
                  <input name="upload_path" type="text" id="upload_path" value="/App_Pic/" />
                </label>
                <span class="textfieldRequiredMsg">需要选择或填写一个值</span></span></td>
            </tr>
            <tr>
              <td align="right"> 模版编码</td>
              <td><span id="spryselect_templet_language">
                <label>
                  <select name="templet_language" id="templet_language">
                    <option value="UTF-8">UTF-8</option>
                    <option value="GB2312">GB2312</option>
                  </select>
                </label>
                <span class="selectRequiredMsg">请选择一个项目</span></span></td>
            </tr>
            <tr>
              <td align="right"> 模版主目录</td>
              <td><span id="sprytextfield_TempletRoot">
                <label>
                  <input name="templet_root" type="text" id="templet_root" value="/APP_templet/" />
                </label>
                <span class="textfieldRequiredMsg">需要选择或填写一个值</span></span></td>
            </tr>
            <tr>
              <td align="right">会员登录后台LOGO </td>
              <td>&nbsp;</td>
            </tr>
            <tr>
              <td align="right">会员登陆后台默认菜单</td>
              <td>&nbsp;</td>
            </tr>
            <tr>
              <td align="right"> 当前模版组文件夹</td>
              <td><span id="sprytextfield_TempletFile">
                <label>
                  <input name="templet_file" type="text" id="templet_file" value="default" />
                </label>
                <span class="textfieldRequiredMsg">需要选择或填写一个值</span></span></td>
            </tr>
            <tr>
              <td align="right"> 数据库类型</td>
              <td><span id="spryselect_date_type">
                <label>
                  <select name="date_type" id="date_type">
                    <option value="Sql">SQL数据库</option>
                    <option value="SQLite">SQLite</option>
                    <option value="MySqL">MySqL</option>
                  </select>
                </label>
                <span class="selectRequiredMsg">请选择一个项目</span></span></td>
            </tr>
            <tr>
              <td align="right"> 登陆注册页面的LOGO 地址</td>
              <td><span id="sprytextfield_logo">
                <label>
                  <input name="logo" type="text" id="logo" value="http://update.roycms.cn/images/logo.jpg" />
                </label>
                <span class="textfieldRequiredMsg">需要选择或填写一个值</span></span></td>
            </tr>
            <tr>
              <td align="right"> 网站首页标题</td>
              <td><span id="sprytextfield_Title">
                <label>
                  <input type="text" name="title" id="title" />
                </label>
                <span class="textfieldRequiredMsg">需要选择或填写一个值</span></span></td>
            </tr>
            <tr>
              <td align="right"> 网站首页 关键字</td>
              <td><span id="sprytextfield_keyword">
                <label>
                  <input type="text" name="keyword" id="keyword" />
                </label>
                <span class="textfieldRequiredMsg">需要选择或填写一个值</span></span></td>
            </tr>
            <tr>
              <td align="right"> 网站首页描述</td>
              <td><span id="sprytextarea_description">
                <label>
                  <textarea name="description" id="description" cols="45" rows="5"></textarea>
                </label>
                </span></td>
            </tr>
            <tr>
              <td align="right"> 网站版权信息<br /></td>
              <td><span id="sprytextarea_copyright">
                <label>
                  <textarea name="copyright" id="copyright" cols="45" rows="5"></textarea>
                </label>
                </span></td>
            </tr>
          </table>
          <h3>安全选项 </h3>
          <table width="80%" border="0" cellspacing="4" cellpadding="0" style=" border: solid 1px #000099; background-color: #CCDDEE;">
            <tr>
              <td width="20%" align="right">&nbsp;</td>
              <td width="80%">&nbsp;</td>
            </tr>
            <tr>
              <td align="right">数据库连接字符是否加密</td>
              <td><span id="spryselect_constringencrypt">
                <label>
                  <select name="constringencrypt" id="constringencrypt">
                    <option value="true">是</option>
                    <option value="false">否</option>
                  </select>
                </label>
                <span class="selectRequiredMsg">请选择一个项目</span></span></td>
            </tr>
            <tr>
              <td align="right">管理员密码 默认管理员名称 admin</td>
              <td><span id="sprytextfield_Password">
                <label>
                  <input type="text" name="password" id="password" />
                </label>
                <span class="textfieldRequiredMsg">需要选择或填写一个值</span></span></td>
            </tr>
            <tr>
              <td align="right">文件管理器 允许在线编辑的扩展名文件</td>
              <td><span id="sprytextfield_FileManager_file_type">
                <label>
                  <input name="filemanager_file_type" type="text" id="filemanager_file_type" value="xml,aspx,txt,css,js,ascx,sql,cs,htm" />
                </label>
                <span class="textfieldRequiredMsg">需要选择或填写一个值</span></span></td>
            </tr>
            <tr>
              <td align="right">管理员邮件地址</td>
              <td><span id="sprytextfield_sendmail_path">
                <label>
                  <input type="text" name="sendmail_path" id="sendmail_path" />
                </label>
              <span class="textfieldRequiredMsg">需要提供一个值</span></span></td>
            </tr>
            <tr>
              <td align="right">邮件密码</td>
              <td><span id="sprytextfield_sendmail_password">
                <label>
                  <input type="text" name="sendmail_password" id="sendmail_password" />
                </label>
              <span class="textfieldRequiredMsg">需要提供一个值</span></span></td>
            </tr>
            <tr>
              <td align="right">发邮件服务器地址</td>
              <td><span id="sprytextarea_sendmail_content">
                <label>
                  <textarea name="sendmail_content" id="sendmail_content" cols="45" rows="5"></textarea>
                </label>
              <span class="textareaRequiredMsg">需要提供一个值。</span></span></td>
            </tr>
            <tr>
              <td align="right">邮件默认内容</td>
              <td>&nbsp;</td>
            </tr>
            <tr>
              <td align="right">文件管理器默认主目录</td>
              <td><span id="sprytextfield_FileManagerRoot">
                <label>
                  <input name="filemanager_root" type="text" id="filemanager_root" value="*" />
                </label>
                <span class="textfieldRequiredMsg">需要选择或填写一个值</span></span></td>
            </tr>
          </table>
          <h3>高级选项 </h3>
          <table width="80%" border="0" cellspacing="4" cellpadding="0" style=" border: solid 1px #FF0000; background-color: #FEF693;">
            <tr>
              <td width="20%" align="right">数据库前缀</td>
              <td width="80%"><span id="sprytextfield_DatePrefix">
                <label>
                  <input name="date_prefix" type="text" id="date_prefix" value="ROYcms_" />
                </label>
                <span class="textfieldRequiredMsg">需要选择或填写一个值</span></span></td>
            </tr>
            <tr>
              <td align="right">模版生成是否进行ZIP压缩</td>
              <td><span id="spryselect_html_zip">
                <label>
                  <select name="html_zip" id="html_zip">
                    <option value="true">是</option>
                    <option value="false">否</option>
                  </select>
                </label>
                <span class="selectRequiredMsg">请选择一个项目</span></span></td>
            </tr>
            <tr>
              <td align="right">是否启用静态浏览 </td>
              <td><span id="spryselect_html">
                <label>
                  <select name="html" id="html">
                    <option value="true">是</option>
                    <option value="false">否</option>
                  </select>
                </label>
                <span class="selectRequiredMsg">请选择一个项目</span></span></td>
            </tr>
            <tr>
              <td align="right">主站点用户中心站地址</td>
              <td><span id="sprytextfield_UcenterWebserver">
                <label>
                  <input name="ucenter_webserver" type="text" id="ucenter_webserver" value="http://update.roycms.cn" />
                </label>
                <span class="textfieldRequiredMsg">需要选择或填写一个值</span></span></td>
            </tr>
            <tr>
              <td align="right">用户中心站 密码</td>
              <td><span id="sprytextfield_UcenterPassword">
                <label>
                  <input type="text" name="ucenter_password" id="ucenter_password" />
                </label>
                <span class="textfieldRequiredMsg">需要选择或填写一个值</span></span></td>
            </tr>
            <tr>
              <td align="right">站点唯一标识GUID</td>
              <td><span id="sprytextfield_GUID">
                <label>
                  <input name="guid" type="text" id="guid" value="{30B82B01-C5C1-4836-ADB8-91E23373E46E}" />
                </label>
                <span class="textfieldRequiredMsg">需要选择或填写一个值</span></span></td>
            </tr>
            <tr>
              <td align="right">站点物理路径</td>
              <td><span id="sprytextfield_Root">
                <label>
                  <input name="root" type="text" id="root" value="Root" />
                </label>
                <span class="textfieldRequiredMsg">需要选择或填写一个值</span></span></td>
            </tr>
            <tr>
              <td align="right">系统版本</td>
              <td><span id="sprytextfield_version">
                <label>
                  <input name="version" type="text" id="version" value="2.0" />
                </label>
                <span class="textfieldRequiredMsg">需要选择或填写一个值</span></span></td>
            </tr>
            <tr>
              <td align="right">错误报告</td>
              <td><span id="spryselect_error">
                <label>
                  <select name="error" id="error">
                    <option value="true">是</option>
                    <option value="false">否</option>
                  </select>
                </label>
                <span class="selectRequiredMsg">请选择一个项目</span></span></td>
            </tr>
        </table>
        <div style="margin-top:5px;">
         <label>
             <asp:Button ID="SAVE" runat="server" Text="确 认 提 交" onclick="SAVE_Click" Width="100px" Height="30" BorderColor="#000066" BackColor="#000066"  ForeColor="#FFFFFF"/>
          </label>
        </div></td>
      </tr>
    </table>
</form>
<script type="text/javascript">
<!--
var sprytextarea1 = new Spry.Widget.ValidationTextarea("sprytextarea_copyright", {isRequired:false});
var sprytextarea2 = new Spry.Widget.ValidationTextarea("sprytextarea_description", {isRequired:false});
var sprytextfield22 = new Spry.Widget.ValidationTextField("sprytextfield_keyword");
var sprytextfield20 = new Spry.Widget.ValidationTextField("sprytextfield_logo");
var sprytextfield21 = new Spry.Widget.ValidationTextField("sprytextfield_Title");
var spryselect2 = new Spry.Widget.ValidationSelect("spryselect_date_type");
var sprytextfield10 = new Spry.Widget.ValidationTextField("sprytextfield_TempletRoot");
var sprytextfield11 = new Spry.Widget.ValidationTextField("sprytextfield_TempletFile");
var spryselect1 = new Spry.Widget.ValidationSelect("spryselect_templet_language");
var sprytextfield8 = new Spry.Widget.ValidationTextField("sprytextfield_UploadPath");
var sprytextfield7 = new Spry.Widget.ValidationTextField("sprytextfield_WebForge");
var sprytextfield5 = new Spry.Widget.ValidationTextField("sprytextfield_WebHost");
var sprytextfield6 = new Spry.Widget.ValidationTextField("sprytextfield_WebName");
var sprytextfield18 = new Spry.Widget.ValidationTextField("sprytextfield_FileManagerRoot");
var sprytextfield19 = new Spry.Widget.ValidationTextField("sprytextfield_FileManager_file_type");
var spryselect3 = new Spry.Widget.ValidationSelect("spryselect_constringencrypt");
var sprytextfield14 = new Spry.Widget.ValidationTextField("sprytextfield_Password");
var spryselect6 = new Spry.Widget.ValidationSelect("spryselect_error");
var sprytextfield2 = new Spry.Widget.ValidationTextField("sprytextfield_Root");
var sprytextfield24 = new Spry.Widget.ValidationTextField("sprytextfield_version");
var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield_GUID", "none");
var sprytextfield4 = new Spry.Widget.ValidationTextField("sprytextfield_UcenterPassword");
var sprytextfield3 = new Spry.Widget.ValidationTextField("sprytextfield_UcenterWebserver");
var spryselect4 = new Spry.Widget.ValidationSelect("spryselect_html");
var spryselect5 = new Spry.Widget.ValidationSelect("spryselect_html_zip");
var sprytextfield17 = new Spry.Widget.ValidationTextField("sprytextfield_DatePrefix");
var sprytextfield9 = new Spry.Widget.ValidationTextField("sprytextfield_sendmail_path");
var sprytextfield12 = new Spry.Widget.ValidationTextField("sprytextfield_sendmail_password");
var sprytextarea3 = new Spry.Widget.ValidationTextarea("sprytextarea_sendmail_content");
//-->
</script>
</body>
</html>
